package com.bckj.fastboot.upms.biz.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.upms.api.dto.LogRecord;
import com.bckj.fastboot.upms.api.dto.SysLogQuery;
import com.bckj.fastboot.upms.api.entity.SysLog;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(config = MapStructConfig.class)
public interface SysLogConvert {

    SysLog record2Bean(LogRecord record);

    List<SysLog> recordList2BeanList(List<LogRecord> record);

    SysLog query2Entity(SysLogQuery query);
}
